// pages/gw/gw.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    itemTitle1: '全部职位',
    option1:[
      {
        id:1,
        name:'店员导购',
        child:[
          {id:1,name:'发单员'},
          {id:2,name:'导购'},
        ],
      },
      {
        id:2,
        name:'安防',
        child:[
          {id:1,name:'安检员'},
          {id:2,name:'秩序员'},
          {id:3,name:'保安'},
        ],
      },
      {
        id:3,
        name:'酒店',
        child:[
          {id:1,name:'服务员'},
          {id:2,name:'礼宾员'},
          {id:3,name:'洗碗工'},
          {id:4,name:'厨师'},
          {id:5,name:'保洁'},
        ],
      },
    ],
    value1: 0,
    option2: [
      { text: '默认排序', value: 'a' },
      { text: '好评排序', value: 'b' },
      { text: '销量排序', value: 'c' },
    ],
    value2: 'a',
    itemTitle3:'更多筛选',
    option3:[
      {
        id:1,
        name:'店员导购',
        child:[
          {id:1,name:'发单员'},
          {id:2,name:'导购'},
        ],
      },
      {
        id:2,
        name:'安防',
        child:[
          {id:1,name:'安检员'},
          {id:2,name:'秩序员'},
          {id:3,name:'保安'},
        ],
      },
      {
        id:3,
        name:'酒店',
        child:[
          {id:1,name:'服务员'},
          {id:2,name:'礼宾员'},
          {id:3,name:'洗碗工'},
          {id:4,name:'厨师'},
          {id:5,name:'保洁'},
        ],
      },
    ],
    value3: 0,
    types:[
      {id:1,name:'全职'},
      {id:2,name:'兼职'}
    ],
    type_id:1,
    list:[{},{},{},{},{},{},{},{},{},{}]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },
  onConfirm1() {
    this.selectComponent('#item1').toggle();
  },
  onConfirm3() {
    this.selectComponent('#item3').toggle();
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})